
app_name=/home/he/project/heworkspace/nettyGradle/target/classes

id=$(ps -ef | grep $app_name | grep -v grep | awk '{print $2}')

kill -9 $id

echo '是否完成:'

ps -ef|grep $app_name
